package com.example.commom.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

/**
 *  返回结果的状态码描述信息
 */
public enum RespDescEnum {

    MissRequiredParameter("缺少必要参数或参数有误!"),

    AccountNotExistence("该账号已注销或未注册!"),

    AccountIsBanned("账号已被封禁!"),

    AccountVerifyFailed("账号或密码错误!"),

    AccountIsLogin("账号已在别处登录"),

    AccountIsAlreadyExist("该账号(用户名)已存在"),

    AccountIsAlreadyFollow("已经关注了该用户");


    @EnumValue
    private final String value;

    RespDescEnum(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

}
